<?php
  session_cache_limiter('private,must-revalide');
   /**
   * 处理上传页面
   */ 
    include_once("../config.php");
    $id= $_POST['id'];	
	$cate_id = 0; //分类
	//date_default_timezone_set('Asia/Shanghai');	
	$time=date('Y-m-d H:i:s');    
	$text = work_str($_POST["text"], 1);				//中文内容	
	$query = "UPDATE $TBL_DEAL SET text='$text' where type=4";		
    $res = mysql_query($query) or die(mysql_error());		
	MyNotice("文字跑馬燈設置成功", 1, "../news.php");
	exit(0);  
  
?>